package com.dailyblue.java.project.shoppingcart.feign;

import com.dailyblue.java.project.shoppingcart.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "alipay")
public interface AlipayService {
    @GetMapping("/alipay/pay/{no}/{subject}/{total}/{body}")
    public void pay(@PathVariable("no") String no, @PathVariable("subject") String subject, @PathVariable("total") String total, @PathVariable("body") String body);
}
